package com.lesso.lzh.sunflower.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.lesso.lzh.sunflower.model.EmployeeAttendanceRule;
import com.lesso.lzh.sunflower.pojo.dto.EmployeeAttendanceRuleDTO;
import com.lesso.lzh.sunflower.pojo.dto.EmployeeAttendanceRuleQueryDTO;
import com.lesso.lzh.sunflower.pojo.vo.EmployeeAttendanceRuleVO;

/**
 * IEmployeeAttendanceRuleService
 *
 * @author zqz
 * @since 2025-07-04
 */
public interface IEmployeeAttendanceRuleService {
    Long save(EmployeeAttendanceRuleDTO dto);

    Page<EmployeeAttendanceRuleVO> page(EmployeeAttendanceRuleQueryDTO dto);

    Page<EmployeeAttendanceRuleVO> customPage(EmployeeAttendanceRuleQueryDTO dto);

    void deleteById(Long id);

    EmployeeAttendanceRule selectById(Long id);

    void update(EmployeeAttendanceRuleDTO dto);
}